package pharmacy

abstract  class  PersonalInfor {
    String firstName;
    String middleName;
    String lastName;
    String workPhone;
    String mobilePhone;
    String homePhone;
    String email;
    String address;
    static constraints = {
        firstName(blank:false,nullable:false);
        middleName(blank:true,nullable:true);
        lastName(blank:true,nullable:true);
        workPhone(blank:true,nullable:true);
        mobilePhone(blank:true,nullable:true);
        homePhone(blank:true,nullable:true);
        email(blank:true,nullable:true);
        address(blank:false,nullable:false);
    }
}
